import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import {codeinfo} from './components/codeinfo'

import './theme/index.css'
import ElementUI from 'element-ui'
Vue.use(ElementUI);

Vue.config.productionTip = false;

import axios from 'axios'
import './plugins/element.js'

Vue.prototype.$http = axios;

Vue.component('codeinfo', codeinfo);


// 注意在new之前引入

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')

